package com.lidong.lowcode.database.annotation;

import com.lidong.lowcode.database.constants.enumconst.StrCaseEnum;

import java.lang.annotation.*;

/**
 * 名称是否大写
 *
 * @author LiDong
 * @version 1.0.0
 * @createTime 9/8/2022 9:38 PM
 */
// This annotation is used to field
@Target(ElementType.FIELD)
// When  run is  effective
@Retention(RetentionPolicy.RUNTIME)
// Java document annotation
@Documented
public @interface ColumnNameCase {

    StrCaseEnum nameCase() default StrCaseEnum.UPPER;
}
